package com.example.edu.Service;

import com.example.edu.Dto.ChapterListDtoG;
import com.example.edu.Dto.Return;
import com.example.edu.Entity.Chapter;
import com.example.edu.Entity.Course;

import javax.servlet.http.HttpServletRequest;

public interface ChapterService {
    Return create(Chapter chapter);

    Return getList(HttpServletRequest httpServletRequest,ChapterListDtoG chapterListData);

    Return delete(Chapter chapterId);

    Return update(Chapter chapter);

    Return get(Chapter chapter);
}
